<div class="space_profile_box">
<!--{if $_GET[mycenter]==1}-->
<div class="nav">
	<div class="nav_left"><a href="forum.php"><i class="fa fa-angle-left fa-15x"></i></a></div>
	<div class="nav_right"></div>
	<div class="nav_center">
		<a href="forum.php">{echo $lang['mycenter'];}</a>
	</div>
</div>

<div class="mycenter_avatar" onclick="location.href='home.php?mod=spacecp&ac=profile&op=base&mobile=2'">
	<a href="javascript:;" class="flexbox">
		<div class="avatar_box" style="position: relative;" >
			<img src="<!--{avatar($space[uid], big, true)}-->" />
			<i class="fa fa-camera fa-1x" style=" position: absolute; bottom: 10px; right: 5px; color: rgba(0, 0, 0, 0.48); width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 15px;"></i>
		</div>
		<div class="flex">
			$space[username]
			<p style="text-overflow: ellipsis; overflow: hidden; line-height: 20px; height: 20px;">
			$space[sightml]</p>
		</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
</div>
<div class="mycenter_nav">
	<a href="home.php?mod=space&uid={$space[uid]}&do=thread&view=me" class="flexbox">
		<div class="icon"><i class="fa fa-bars fa-1x"></i></div>
		<div class="flex">{echo $lang['mythread'];}</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
	<a href="home.php?mod=space&uid={$space[uid]}&do=thread&view=me&from=space&type=reply" class="flexbox">
		<div class="icon"><i class="fa fa-commenting fa-1x"></i></div>
		<div class="flex">{echo $lang['myreply'];}</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
	<a href="home.php?mod=space&uid={$space[uid]}&do=favorite&view=me&type=thread" class="flexbox">
		<div class="icon"><i class="fa fa-heart fa-1x"></i></div>
		<div class="flex">{echo $lang['favorite'];}</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a><a href="home.php?mod=space&uid=$space[uid]&do=friend&view=me&from=space" class="flexbox">
		<div class="icon"><i class="fa fa-users fa-1x"></i></div>
		<div class="flex">{echo $lang['myfriend'];}</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a><a href="home.php?mod=space&do=profile" class="flexbox">
		<div class="icon"><i class="fa fa-bookmark fa-1x"></i></div>
		<div class="flex">{echo $lang['myprofile'];}</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
	<a href="home.php?mod=spacecp" class="flexbox">
		<div class="icon"><i class="fa fa-cog fa-1x" style="color:#f90;"></i></div>
		<div class="flex">&#20462;&#25913;&#36164;&#26009;</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
</div>
<div class="mycenter_nav">
	<a href="home.php?mod=space&do=pm" class="flexbox">
		<div class="icon"><i class="fa fa-envelope fa-1x"></i></div>
		<div class="flex">{echo $lang['xiaoxi'];}<!--{if $_G[member][newpm]}--><em>NEW</em><!--{/if}--></div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>	
	<a href="home.php?mod=space&do=notice" class="flexbox">
		<div class="icon"><i class="fa fa-bell fa-1x"></i></div>
		<div class="flex">{echo $lang['remind'];}<!--{if $_G[member][newprompt]}--><em>NEW</em><!--{/if}--></div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
</div>	
<!--{if $space['uid'] == $_G['uid']}-->
	<div class="btn_exit"><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout_mobile}</a></div>
<!--{/if}-->



<!--{else}--> 
<!--{template home/space_header}-->
<!--{if !$space[self]}-->
<div class="mycenter_avatar">
	<a href="home.php?mod=space&uid=$space[uid]&do=profile" class="flexbox">
		<div class="avatar_box">
			<img src="<!--{avatar($space[uid], big, true)}-->" />
		</div>
		<div class="flex">
			$space[username]
		</div>
		<div class="angle"><i class="fa fa-angle-right fa-15x"></i></div>
	</a>
</div>
<!--{/if}-->
<div  class="space_profile">
	<h2 >{lang stat_info}</h2>
	<ul >
		 
		<!--{if $space[buyercredit]}-->
		<li><em>{lang eccredit_sellerinfo}</em><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=eccredit#sellcredit" target="_blank">$space[buyercredit] <img src="{STATICURL}image/traderank/buyer/$space[buyerrank].gif" border="0" class="vm" /></a></li>
		<!--{/if}-->
		<!--{if $space[sellercredit]}-->
		<li><em>{lang eccredit_buyerinfo}</em><a href="home.php?mod=space&uid=$space[uid]&do=trade&view=eccredit#buyercredit" target="_blank">$space[sellercredit] <img src="{STATICURL}image/traderank/seller/$space[sellerrank].gif" border="0" class="vm" /></a></li>
		<!--{/if}-->
		<li><em>{lang credits}</em>$space[credits]</li>
		<!--{loop $_G[setting][extcredits] $key $value}-->
		<!--{if $value[title]}-->
		<li><em>$value[title]</em>{$space["extcredits$key"]} $value[unit]</li>
		<!--{/if}-->
		<!--{/loop}-->
	</ul>
</div>

<div class="space_profile" >
	 
 		<h2>{echo $lang['profile'];}</h2>
		<!--{if CURMODULE == 'space'}-->
			<!--{hook/space_profile_baseinfo_top}-->
		<!--{elseif CURMODULE == 'follow'}-->
			<!--{hook/follow_profile_baseinfo_top}-->
		<!--{/if}-->
		<ul class="pf_l cl pbm mbm">
			<!--{if $_G['setting']['allowspacedomain'] && $_G['setting']['domain']['root']['home'] && checkperm('domainlength') && !empty($space['domain'])}-->
			<!--{eval $spaceurl = 'http://'.$space['domain'].'.'.$_G['setting']['domain']['root']['home'];}-->
			<li><em>{lang second_domain}</em><a href="$spaceurl" onclick="setCopy('$spaceurl', '{lang copy_space_address}');return false;">$spaceurl</a></li>
			<!--{/if}-->
			<!--{if $_G[setting][homepagestyle]}-->
			<li><em>{lang space_visits}</em><strong class="xi1">$space[views]</strong></li>
			<!--{/if}-->
			<!--{if in_array($_G[adminid], array(1, 2))}-->
			<li><em>Email</em><span>$space[email]</span></li>
			<!--{/if}-->
			<li><em>{lang email_status}</em><!--{if $space[emailstatus] > 0}-->{lang profile_verified}<!--{else}-->{lang profile_no_verified}<!--{/if}--></li>
			<li><em>{lang video_certification}</em><!--{if $space[videophotostatus] > 0}-->{lang profile_certified} <!--{if $showvideophoto}-->&nbsp;&nbsp;(<a href="home.php?mod=space&uid=$space[uid]&do=videophoto" id="viewphoto" onclick="showWindow(this.id, this.href, 'get', 0)">{lang view_certification_photos}</a>)<!--{/if}--><!--{else}-->{lang profile_no_certified}<!--{/if}--></li>
	 
 
		
		
		<!--{if CURMODULE == 'space'}-->
			<!--{hook/space_profile_baseinfo_middle}-->
		<!--{elseif CURMODULE == 'follow'}-->
			<!--{hook/follow_profile_baseinfo_middle}-->
		<!--{/if}-->
	
			<!--{loop $profiles $value}-->
			<li><em>$value[title]</em><span>$value[value]</span></li>
			<!--{/loop}-->
		</ul>
</div> 
<!--{if CURMODULE == 'space'}-->
	<!--{hook/space_profile_baseinfo_bottom}-->
<!--{elseif CURMODULE == 'follow'}-->
	<!--{hook/follow_profile_baseinfo_bottom}-->
<!--{/if}-->

 
 
<div class="space_profile">
	<h2 class="mbn">{lang active_profile}</h2>
	<ul>
		<!--{if $space[adminid]}--><li><em class="xg1">{lang management_team}&nbsp;&nbsp;</em><span style="color:{$space[admingroup][color]}">{$space[admingroup][grouptitle]}</span> {$space[admingroup][icon]}</li><!--{/if}-->
		<li><em class="xg1">{lang usergroup}&nbsp;&nbsp;</em><span style="color:{$space[group][color]}"{if $upgradecredit !== false} class="xi2" onmouseover="showTip(this)" tip="{lang credits} $space[credits], {lang thread_groupupgrade} $upgradecredit {lang credits}"{/if}>{$space[group][grouptitle]}</span> {$space[group][icon]} <!--{if !empty($space['groupexpiry'])}-->&nbsp;{lang group_useful_life}&nbsp;<!--{date($space[groupexpiry], 'Y-m-d H:i')}--><!--{/if}--></li>
		<!--{if $space[extgroupids]}--><li><em class="xg1">{lang group_expiry_type_ext}&nbsp;&nbsp;</em>$space[extgroupids]</li><!--{/if}-->
	 
		<!--{if $space[oltime]}--><li><em>{lang online_time}</em>$space[oltime] {lang hours}</li><!--{/if}-->
		<li><em>{lang regdate}</em>$space[regdate]</li>
		<li><em>{lang last_visit}</em>$space[lastvisit]</li>
		<!--{if $_G[uid] == $space[uid] || $_G[group][allowviewip]}-->
		<li><em>{lang register_ip}</em>$space[regip] - $space[regip_loc]</li>
		<li><em>{lang last_visit_ip}</em>$space[lastip]:$space[port] - $space[lastip_loc]</li>
		<!--{/if}-->
		<!--{if $space[lastactivity]}--><li><em>{lang last_activity_time}</em>$space[lastactivity]</li><!--{/if}-->
		<!--{if $space[lastpost]}--><li><em>{lang last_post_time}</em>$space[lastpost]</li><!--{/if}-->
		<!--{if $space[lastsendmail]}--><li><em>{lang last_send_email}</em>$space[lastsendmail]</li><!--{/if}-->
		<li><em>{lang time_offset}</em>
			<!--{eval $timeoffset = array({lang timezone});}-->
			$timeoffset[$space[timeoffset]]
		</li>
	</ul>
</div>


<!--{if CURMODULE == 'space'}-->
	<!--{hook/space_profile_extrainfo}-->
<!--{elseif CURMODULE == 'follow'}-->
	<!--{hook/follow_profile_extrainfo}-->
<!--{/if}-->
 


<!--{if !$space[self]}-->
	<div class="space_profile_bottomnav flexbox">           
		<!--{if !$isfriend}-->
		   <a href="home.php?mod=spacecp&ac=friend&op=add&uid=$space[uid]&handlekey=addfriendhk_{$space[uid]}" id="a_friend_li_{$space[uid]}" onclick="showWindow(this.id, this.href, 'get', 0);" class="dialog">{lang add_friend}</a>
		<!--{else}-->
		   <a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$space[uid]&handlekey=ignorefriendhk_{$space[uid]}" id="a_ignore_{$space[uid]}" onclick="showWindow(this.id, this.href, 'get', 0);" class="dialog">{lang ignore_friend}</a>
		<!--{/if}-->
		<a href="home.php?mod=spacecp&ac=pm&handlekey=showmsg_$space[uid]&touid=$space[uid]&pmid=0&daterange=2"  class="dialog" title="{lang send_pm}">{lang send_pm}</a>		
     </div>  
	 <style>.c_mon{padding-bottom:40px;}</style>

<!--{/if}-->
<!--{/if}-->
<!--{eval $nob_nav=1;}-->
</div>